import { createRouter, createWebHistory } from 'vue-router'
import test from "../views/music/music.vue"
import HomeView from "@/views/HomeView/HomeView.vue"
import Option from "../views/Options/Option.vue"
const routes = [
  {
    path:"/",
    name:"Home",
    component:HomeView
  },
  {
    path:"/Option",
    name:"Option",
    component:Option
  },{
    path:"/music",//测试用
    name:"music",
    component:test
  }
  
]

const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  routes
})

export default router
